package com.group.www.pojo;

import java.io.Serializable;
import java.util.Date;

public class MessageInfo implements Serializable {
    private Integer messageid;

    private Integer brandid;

    private Integer userid;

    private String context;

    private Integer isuser;

    private Date messagetime;

    private static final long serialVersionUID = 1L;

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public Integer getBrandid() {
        return brandid;
    }

    public void setBrandid(Integer brandid) {
        this.brandid = brandid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context == null ? null : context.trim();
    }

    public Integer getIsuser() {
        return isuser;
    }

    public void setIsuser(Integer isuser) {
        this.isuser = isuser;
    }

    public Date getMessagetime() {
        return messagetime;
    }

    public void setMessagetime(Date messagetime) {
        this.messagetime = messagetime;
    }

    public MessageInfo() {
    }

    public MessageInfo(Integer messageid, Integer brandid, Integer userid, String context, Integer isuser, Date messagetime) {
        this.messageid = messageid;
        this.brandid = brandid;
        this.userid = userid;
        this.context = context;
        this.isuser = isuser;
        this.messagetime = messagetime;
    }

    @Override
    public String toString() {
        return "MessageInfo{" +
                "messageid=" + messageid +
                ", brandid=" + brandid +
                ", userid=" + userid +
                ", context='" + context + '\'' +
                ", isuser=" + isuser +
                ", messagetime=" + messagetime +
                '}';
    }
}